package com.iss.demo.dao;

import com.iss.demo.entity.UserType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserTypeDao {
    @Select("select * from userrole")
    public List<UserType> selectAll();
}
